<?php
$this->breadcrumbs=array(
	'Usuario',
);?>
<h1><?php echo $this->id . '/' . $this->action->id; ?></h1>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'usuarios-registro-form',
	'enableAjaxValidation'=>true,
	'enableClientValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php //echo $form->errorSummary($model); ?>
	
	<h4>Datos de acceso</h4>
	
	<h4>Perfil</h4>
	
	<div class="row">
		<?php echo $form->labelEx($model,'Nombre'); ?>
		<?php echo $form->textField($model,'Nombre'); ?>
		<?php echo $form->error($model,'Nombre',$htmlOptions=array(), $enableAjaxValidation=false); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'Apellidos'); ?>
		<?php echo $form->textField($model,'Apellidos'); ?>
		<?php echo $form->error($model,'Apellidos',$htmlOptions=array(), $enableAjaxValidation=false); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Pais'); ?>
		<?php echo $form->textField($model,'Pais'); ?>
		<?php echo $form->error($model,'Pais',$htmlOptions=array(), $enableAjaxValidation=false); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Perfil'); ?>
		<?php echo $form->textArea($model,'Perfil', $htmlOptions=array('rows'=>'12', 'cols'=>'50')); ?>
		<?php echo $form->error($model,'Perfil',$htmlOptions=array(), $enableAjaxValidation=false); ?>
	</div>
	
	<h4>Datos de contacto</h4>
	
	<div class="row">
		<?php echo $form->labelEx($model,'Msn'); ?>
		<?php echo $form->textField($model,'Msn'); ?>
		<?php echo $form->error($model,'Msn',$htmlOptions=array(), $enableAjaxValidation=false); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'Gtalk'); ?>
		<?php echo $form->textField($model,'Gtalk'); ?>
		<?php echo $form->error($model,'Gtalk',$htmlOptions=array(), $enableAjaxValidation=false); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'Skype'); ?>
		<?php echo $form->textField($model,'Skype'); ?>
		<?php echo $form->error($model,'Skype',$htmlOptions=array(), $enableAjaxValidation=false); ?>
	</div>
	
	<div class="row buttons">
		<?php echo CHtml::submitButton('Submit'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->